package com.xxh.springclouddemo.openfeignapi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients    //开启服务调用暴露
@EnableDiscoveryClient   //开启微服务注册
@SpringBootApplication
public class SpringclouddemoOpenfeignapiApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringclouddemoOpenfeignapiApplication.class, args);
    }

}
